#!/usr/bin/python
# -*- coding: utf-8 -*-
#查找
tup1 = ('aa', 'bb', ['1', '2', '3'],  'cc', 'dd')
print(tup1[0])
print(tup1.index('bb'))

#count()  统计出现次数
print(tup1.count('aa'))

#len   统计元祖长度
print(len(tup1))

#修改元组中列表的值
tup1[2][1] = 'ee'
print(tup1)